import { createApp } from "vue";

//ant
import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css"; //引入ant的样式

//router
import router from "@/router/index";
//pinia
import { createPinia } from "pinia";
import persist from "pinia-plugin-persistedstate";
import App from "./App.vue";
const pinia = createPinia();

const app = createApp(App);
app.use(Antd);

app.use(router);

pinia.use(persist);
app.use(pinia);

app.mount("#app");
